package com.scoring.system.mapper;

import java.util.List;

import com.scoring.system.pojo.RewardPunishment;

public interface RewardPunishmentMapper {
    int deleteByPrimaryKey(Integer id);
    
    int softDelete(Integer id);

    int insert(RewardPunishment record);

    int insertSelective(RewardPunishment record);

    RewardPunishment selectByPrimaryKey(Integer id);
    
    List<RewardPunishment> listRewardPunishmentByStudentId(Integer studentId);

    int updateByPrimaryKeySelective(RewardPunishment record);

    int updateByPrimaryKey(RewardPunishment record);
}